package org.geektimes.projects.userweb;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2021/5/4 21:03
 */
@SpringBootApplication
@NacosPropertySource(dataId = "user-platform.properties", autoRefreshed = true)
@EnableConfigurationProperties
@EnableCaching
@MapperScan(basePackages = "org.geektimes.projects.userweb.dao")
public class MyApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }


}
